package cn.abcsys.cloud.devops.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class IndexController {

	
	@RequestMapping("/")
	public ModelAndView defaultIndex() {
		return new ModelAndView("index");
	}

	@RequestMapping("/index.html")
	public ModelAndView index() {
		return new ModelAndView("index");
	}


	@RequestMapping("/login.html")
	public ModelAndView login() {
		return new ModelAndView("login");
	}

	@RequestMapping("/env.html")
	public ModelAndView app() {
		return new ModelAndView("env");
	}
}
